package com.alibaba.citrus.cr.price.repository;

import com.alibaba.lattice2.epoch.sdk.model.Result;
import com.epoch.app.crpricecenter.api.creditquery.dto.QueryCompanyToGroupCreditListRequest;
import com.epoch.app.crpricecenter.model.dto.CompanyToGroupCreditResponse;
import com.epoch.app.crpricecenter.model.dto.CreditInfoSDO;
import com.epoch.app.crpricecenter.model.dto.CreditQueryRequest;

import java.util.List;

/**
 * @description:
 * @author: qianlei
 * @create: 2021/10/29 01:13
 */
public interface CreditQueryRepository {

    List<CreditInfoSDO> queryCreditList(List<CreditInfoSDO> creditInfoSDO);

    List<CreditInfoSDO> batchQueryCreditList(List<CreditQueryRequest> requestList);

    List<CreditInfoSDO> queryCreditList(List<CreditInfoSDO> creditInfoSDO, boolean enhance);

    Result<List<CompanyToGroupCreditResponse>> queryCompanyToGroupCreditList(QueryCompanyToGroupCreditListRequest request);
}
